package com.swb.mybatis02.dao;

import com.swb.mybatis02.entity.Dept;
import com.swb.mybatis02.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @title: DeptDAO
 * @author: 流沐颖
 * @date:2022/5/31 16:00
 * @description:
 * @version: study
 */
public interface DeptDAO {
    /**
     * 查询某个部门下的所有员工
     * @return
     */
    List<Emp> selectAllEmpByDno(@Param("dno") int dno);

}
